package com.meilai.project.dto.media;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 张驰
 * @date 2022/1/25 16:00
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value="保存对象-选位集合-时间段", description="保存对象-选位集合-时间段")
public class SaveMediaChooseDaterangeDTO {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "起始时间", required = true)
    private LocalDateTime start_at;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间", required = true)
    private LocalDateTime end_at;
    @ApiModelProperty(value = "点位ids", required = true)
    private List<Long> media_point_ids;
}
